vulkan: Split out a function
authorBenjamin Otte <otte@redhat.com>
Fri, 14 Jul 2023 18:53:54 +0000 (20:53 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 16 Jul 2023 11:16:43 +0000 (13:16 +0200)
commit68b337d457a804aba7eac51f0e6315d3c096eb55
tree34aafc7483753219f141fbb568ccff68d7a021b5
parent0d5e54986acd0b0e8f926ec4eae5e32d51a78d5a
vulkan: Split out a function

Split out the function that uploads using a buffer, so that it can be
used with an area to only update parts of the image.

That feature is not used yet, but will be in future commits.
gsk/vulkan/gskvulkanuploadop.c